import { defineStore } from "pinia"
import { ref, Ref } from "vue"

import type sprType from "../type/spr.d";
export const useVideoStore = defineStore('video', () => {
    const videos: Ref<Array<sprType>> = ref([])
    function push(video: sprType) {
        videos.value.push(video)
    }

    return { videos, push }
})